
package com.fis.mca.persistence;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for apParamId complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="apParamId">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="parName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="parType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "apParamId", propOrder = {
    "parName",
    "parType"
})
public class ApParamId {

    protected String parName;
    protected String parType;

    /**
     * Gets the value of the parName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getParName() {
        return parName;
    }

    /**
     * Sets the value of the parName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setParName(String value) {
        this.parName = value;
    }

    /**
     * Gets the value of the parType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getParType() {
        return parType;
    }

    /**
     * Sets the value of the parType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setParType(String value) {
        this.parType = value;
    }

    public boolean equals(Object obj)
	{
		if (this == obj)
		{
			return true;
		}
		if ((obj == null) || (obj.getClass() != this.getClass()))
		{
			return false;
		}
		// object must be Test at this point
		ApParamId apParamId = (ApParamId) obj;
		return (getParName().equals(apParamId.getParName()) && getParType().equals(apParamId.getParType()));
	}
    
}
